package com.itcast.java.product.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

/**
 * 品牌实体类
 *
 * @author xiaobai
 * @date 2021-06-27 19:31:58
 */
@Data
@TableName("pms_brand")
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "PmsBrandEntity对象", description = "品牌")
public class PmsBrandEntity implements Serializable{

private static final long serialVersionUID=1L;

        @ApiModelProperty(value = "品牌id")
                @TableId(value = "brand_id", type = IdType.AUTO)
                private Long brandId;

        @ApiModelProperty(value = "品牌名")
    @TableField("name")
        private String name;

        @ApiModelProperty(value = "品牌logo地址")
    @TableField("logo")
        private String logo;

        @ApiModelProperty(value = "介绍")
    @TableField("descript")
        private String descript;

        @ApiModelProperty(value = "显示状态[0-不显示；1-显示]")
    @TableField("show_status")
        private Integer showStatus;

        @ApiModelProperty(value = "检索首字母")
    @TableField("first_letter")
        private String firstLetter;

        @ApiModelProperty(value = "排序")
    @TableField("sort")
        private Integer sort;

        }